package com.yunyi.integration.service.polymorphism;

import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

/**
 * 多态调用注入测试类002
 *
 * @author yunyi
 */
@Order(2)
@Component("polymorphismTwo")
public class BeanInterfaceTestTwoImpl implements BeanInterface {
    @Override
    public void doSomething(String name) {
        System.out.println("测试002:" + name);

    }
}
